package com.jeez.common.domain;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author: Felix
 * @date: 2018-7-15
 * @version: v1.0
 * @description:
 */
@Getter
@Setter
public class DataTables<T> implements Serializable {

    /**
     * 第几页
     */
    private int draw ;

    /**
     * 总记录数
     */
    private int recordsTotal;

    private int recordsFiltered;

    /**
     * 返回的数据
     */
    private List<T> data;

    /**
     * 发生错误时的信息
     */
    private String error;

}
